package me.obstsalat.guildera;

import java.util.TimerTask;

public class dt_refill extends TimerTask  {

	private guildera plugin;
	
	dt_refill(guildera pl) {
		plugin = pl;
	}
	
	@Override
	public void run() {
		plugin.restricted_founders.clear();
		for(Treasure tr : plugin.treasures) {
			structureLib.refreshLoot(tr);
		}
		
		plugin.logger.info("[" + plugin.getDescription().getName() + "] Refreshed loot of all dungeons.");
	}

}
